package vip.xiaonuo.biz.modular.goods.param;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import vip.xiaonuo.common.pojo.CommonParam;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "物品检查项")
public class ClientGoodsCheckParam extends CommonParam {
    @ApiModelProperty(value = "当前用户", hidden = true)
    @JsonIgnore
    private String userId;

    @ApiModelProperty(value = "借用归还记录ID(物品台账ID)", required = true)
    @NotNull
    private String ledgerId;

    @ApiModelProperty(value = "借用检查 0-借用检查 1-归还检查", required = true)
    @NotNull(message = "借用检查不能为空")
    private Integer checkType;
}
